stlab.adobe.com Adobe Systems Incorporated

command_system_t Class Reference

#include <cmd_system.hpp>

List of all members.

Public Types

typedef boost::function< void(bool)> command_enabled_callback_t
typedef boost::function< void()> command_proc_t
typedef boost::signals::connection connection_t

Public Member Functions

 command_system_t ()
void do_command (name_t name)
void enable_command (name_t name, bool enabled)
void insert_command (name_t name, const command_proc_t &proc)
connection_t monitor_enabled (name_t name, const command_enabled_callback_t &callback)
void remove_command (name_t name)
 ~command_system_t ()

Detailed Description

Definition at line 32 of file cmd_system.hpp.


Member Typedef Documentation

typedef boost::function<void (bool)> command_enabled_callback_t

Definition at line 36 of file cmd_system.hpp.

typedef boost::function<void ()> command_proc_t

Definition at line 35 of file cmd_system.hpp.

typedef boost::signals::connection connection_t

Definition at line 37 of file cmd_system.hpp.


Constructor & Destructor Documentation


Member Function Documentation

void do_command ( name_t  name )
void enable_command ( name_t  name,
bool  enabled 
)
void insert_command ( name_t  name,
const command_proc_t proc 
)
connection_t monitor_enabled ( name_t  name,
const command_enabled_callback_t callback 
)
void remove_command ( name_t  name )

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google