AERA
Public Member Functions | List of all members
video_screen::VideoScreenIoDevice< O, S > Class Template Reference
Inheritance diagram for video_screen::VideoScreenIoDevice< O, S >:
r_exec::MemExec< O, S >

Public Member Functions

bool load (const std::vector< r_code::Code * > *objects, uint32 stdin_oid, uint32 stdout_oid, uint32 self_oid) override
 
r_code::Codeeject (r_code::Code *command) override
 
void on_diagnostic_time_tick () override
 
- Public Member Functions inherited from r_exec::MemExec< O, S >
r_code::Codebuild_object (r_code::SysObject *source) const override
 
r_code::Code_build_object (Atom head) const override
 
r_code::Codebuild_object (Atom head) const override
 
r_code::Codecheck_existence (r_code::Code *object) override
 
void inject (O *object, View *view)
 

Detailed Description

template<class O, class S>
class video_screen::VideoScreenIoDevice< O, S >

Definition at line 62 of file video_screen_io_device.h.

Member Function Documentation

◆ eject()

template<class O , class S >
Code * video_screen::VideoScreenIoDevice< O, S >::eject ( r_code::Code command)
override

Override eject to check for implemented commands.

Parameters
commandThe command from the Replicode (cmd ...).
Returns
The given command if it is executed as-is, or a new command object of the command that is actually executed. The program controller will make a fact from the command and inject it as the efferent copy. However, if the command is not executed, then return NULL and the program controller will put an anti-fact of the command in the mk.rdx reduction.

Definition at line 103 of file video_screen_io_device.cpp.

◆ load()

template<class O , class S >
bool video_screen::VideoScreenIoDevice< O, S >::load ( const std::vector< r_code::Code * > *  objects,
uint32  stdin_oid,
uint32  stdout_oid,
uint32  self_oid 
)
override

Call the parent class load(), then set up the objects to emulate the environment.

Definition at line 79 of file video_screen_io_device.cpp.

◆ on_diagnostic_time_tick()

template<class O , class S >
void video_screen::VideoScreenIoDevice< O, S >::on_diagnostic_time_tick ( )
inlineoverride

This is called when run_in_diagnostic_time() updates the tickTime. Just call on_time_tick(), because there is no real - time timer thread to call it.

Definition at line 88 of file video_screen_io_device.h.


The documentation for this class was generated from the following files: