rtact.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 # -*- Python -*-
00003 # -*- coding: utf-8 -*-
00004 
00005 '''rtshell
00006 
00007 Copyright (C) 2009-2014
00008     Geoffrey Biggs
00009     RT-Synthesis Research Group
00010     Intelligent Systems Research Institute,
00011     National Institute of Advanced Industrial Science and Technology (AIST),
00012     Japan
00013     All rights reserved.
00014 Licensed under the Eclipse Public License -v 1.0 (EPL)
00015 http://www.opensource.org/licenses/eclipse-1.0.txt
00016 
00017 Implementation of the command to move a component to the activated state.
00018 
00019 '''
00020 
00021 
00022 import state_control_base
00023 
00024 
00025 def activate_action(object, ec_index):
00026     object.activate_in_ec(ec_index)
00027 
00028 
00029 def main(argv=None, tree=None):
00030     return state_control_base.base_main('Activate a component.',
00031             activate_action, argv)
00032 
00033 
00034 # vim: tw=79
00035 


rtshell
Author(s): Geoffrey Biggs
autogenerated on Fri Aug 28 2015 12:55:12